package com.second.app.generic.test;


public class Point<T> {

    private T var;

    public T getVar() {
        return var;
    }

    public void setVar(T var) {
        this.var = var;
    }

    public static void main(String[] args) {
        Point<String> stringPoint = new Point<>();
        stringPoint.setVar("it");
        System.out.println(stringPoint.getVar().length());
    }
}
